home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 7436 / text0000.txt < prev   
Encoding:
Text File  |  1996-08-05  |  753 b   |  21 lines

  1. Hi!
  2.  
  3. I'm trying to use the colorwheel (and the gradientslider) in a program, but
  4. I don't know how to use these gadgets properly. The autodocs are sad
  5. chapters. Sure, they tell you about the tags in a decent way, but nothing
  6. more. Not a word about the IntuiMessages it generates.
  7.  
  8. The NDK 3.1 disks contains one example. However, it isn't very informative.
  9. It assumes that there is only one gadget in the window that can generate
  10. IDCMP_MOUSEMOVE messages. So, how do I tell a message comes from the color
  11. wheel or the gradient slider? Can IAddress be used? If so, how? It sure
  12. doen't point to the gadget at least.
  13.  
  14. Also, must I use GetAttr to get the new color values in a IDCMP_MOUSEMOVE
  15. message?
  16.  
  17. --
  18. Magnus Holmgren - Amiga programmer and enthusiast
  19.  
  20.  
  21.